package com.dstz.bpm.core.dao;

import com.dstz.base.api.query.QueryFilter;
import com.dstz.base.dao.BaseDao;
import com.dstz.bpm.core.model.BpmDefinition;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

@MapperScan
public interface BpmDefinitionDao extends BaseDao<String, BpmDefinition> {
   BpmDefinition getMainByDefKey(String var1);

   void updateActResourceEntity(@Param("deploymentId") String var1, @Param("resName") String var2, @Param("bpmnBytes") byte[] var3);

   List<BpmDefinition> getByKey(String var1);

   List<BpmDefinition> getDefByActModelId(String var1);

   BpmDefinition getByActDefId(String var1);

   void updateToMain(String var1);

   List<BpmDefinition> getMyDefinitionList(QueryFilter var1);

   void updateForMainVersion(@Param("mainDefId") String var1, @Param("key") String var2);
}
